cmake_minimum_required(VERSION 2.6)
project(realsense)

find_package(OpenCV REQUIRED)


include_directories(${OpenCV_INCLUDE_DIRS})


link_libraries(${OpenCV_LIBRARY_DIRS})

add_executable(realsense main.cpp)

target_link_libraries(realsense  realsense2 ${OpenCV_LIBS})

install(TARGETS realsense RUNTIME DESTINATION bin)
